package org.ciallo.easytokencore.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description: Easy-Token token注入注解
 * @Author: Jukomu
 * @Package: org.ciallo.easytokencore.annotation
 * @Project: easy-token-demo
 * @name: EasyTokenInject
 * @Date: 2025/5/16-14:52
 * @Filename: EasyTokenInject
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface EasyTokenAutoInject {
    /**
     * 负载
     *
     * @return /
     */
    String payload() default "Easy-Token";

    /**
     * token 值
     *
     * @return /
     */
    String token() default "";
}
